/*
 * @Author: 陈亮
 * @LastEditors: 陈亮
 * @GitHub: https://github.com/drinkwd
 * @Description: 供详情页使用将变量存在data中防止切换详情页数据重复
 * @Date: 2019-03-15 10:16:14
 * @LastEditTime: 2019-03-15 10:18:50
 */
export const setData = {
  methods: {
    storageData (name, data) {
      this[name] = data
    }
  }
}
